package com.example.springautoconfig;

import com.example.autoconfig.EnableAutoConfig;
import com.example.autoconfig.MyImportSelector;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;


//@ComponentScan({"com.example.autoConfig"})

//@Import({AutoConfig.class, AutoConfig2.class})
//@Import(MyImportSelector.class)
//@EnableAutoConfig


@SpringBootApplication
@ComponentScan("com.example.autoconfig")
public class SpringAutoconfigApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringAutoconfigApplication.class, args);
    }
}





